Fix output matching in tests
authorAlex Crichton <alex@alexcrichton.com>
Thu, 3 Mar 2016 18:18:02 +0000 (10:18 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 3 Mar 2016 18:19:56 +0000 (10:19 -0800)
commit1a1d8f8c19b9b3cb64bdabb376105839537a1dc8
treefbc30e7c5dee8c5a2afc11c6a8db8ecc63f27f3e
parentbb0f4ae946d4d22d9821369355226a8893a97ae2
Fix output matching in tests

Right now we only match a suffix of the line, assuming all lines start with
`[..]`. Instead this ensures that the first match is anchored at the start.
tests/support/mod.rs
tests/test_cargo.rs
tests/test_cargo_compile_git_deps.rs
tests/test_cargo_compile_path_deps.rs
tests/test_cargo_install.rs